
package com.lvmama.pangolin.mybatis.mapper.mt;

import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.mt.MTTicketProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MTTicketProductMapper
{

	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(MTTicketProduct record);

	int insertSelective(MTTicketProduct record);

	MTTicketProduct selectByPrimaryKey(String id);

	MTTicketProduct selectByProdId(@Param(value = "productId") String productId);

	int updateByPrimaryKeySelective(MTTicketProduct record);
	
	int updateByProdIdSelective(MTTicketProduct record);

	int updateByPrimaryKey(MTTicketProduct record);
	
	List<MTTicketProduct> getAllList(ProductConditionVO pc);
	
	List<MTTicketProduct> selectByName(String name);
	List<MTTicketProduct> selectAll();
	List<MTTicketProduct> selectByUrl(@Param("url") String url, @Param("url2") String url2);
	
	public void updateByProdId(@Param("productId") String productId);
	
	public void deleteLinkByProdId(@Param("productId") String productId);


}
